package pojo.order;

import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

/**
 * @author Limohan
 */
public class BidProperty {
    private StringProperty factory = new SimpleStringProperty();
    private StringProperty price = new SimpleStringProperty();
    private StringProperty id = new SimpleStringProperty();
    private StringProperty name = new SimpleStringProperty();
    private StringProperty phone = new SimpleStringProperty();
    private StringProperty isChosen = new SimpleStringProperty();

    public BidProperty() {
    }

    public String getFactory() {
        return factory.get();
    }

    public StringProperty factoryProperty() {
        return factory;
    }

    public void setFactory(String factory) {
        this.factory.set(factory);
    }

    public String getPrice() {
        return price.get();
    }

    public StringProperty priceProperty() {
        return price;
    }

    public void setPrice(String price) {
        this.price.set(price);
    }

    public String getId() {
        return id.get();
    }

    public StringProperty idProperty() {
        return id;
    }

    public void setId(String id) {
        this.id.set(id);
    }

    public String getName() {
        return name.get();
    }

    public StringProperty nameProperty() {
        return name;
    }

    public void setName(String name) {
        this.name.set(name);
    }

    public String getPhone() {
        return phone.get();
    }

    public StringProperty phoneProperty() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone.set(phone);
    }

    public String getIsChosen() {
        return isChosen.get();
    }

    public StringProperty isChosenProperty() {
        return isChosen;
    }

    public void setIsChosen(String isChosen) {
        this.isChosen.set(isChosen);
    }
}
